package com.jjyu.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jjyu.entity.StoreReview;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StoreReviewMapper extends BaseMapper<StoreReview> {
    List<StoreReview> findByRestaurantId(Integer restaurantId);
    List<StoreReview> findByUserId(Integer userId);
}
